<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <link rel="stylesheet" href="../lib/fontawesome/css/font-awesome.css" />
    <link rel="stylesheet" href="../lib/mui/css/mui.css" />
    <link rel="stylesheet" href="../css/fenlei.css" />
    <link rel="stylesheet" href="../css/bass.css" />
  </head>
  <body>
    <header class="pyg_header 头部">
      <div class="mui-input-row mui-search">
        <input type="search" class="mui-input-clear" placeholder="" />
      </div>
    </header>

    <div class="内容">
      <div class="left"><div id="wrapper"></div></div>
      <div class="right"><!-- div --></div>
    </div>

    <div class="底部">
      <a href="../index.html">
        <span class="fa fa-home"></span>
        <div>首页</div>
      </a>
      <a href="./index2/fenlei.html">
        <span class="fa fa-list-ul"></span>
        <div>分类</div>
      </a>
      <a href="javascript:;">
        <span class="fa fa-cart-plus"></span>
        <div>购物车</div>
      </a>
      <a href="javascript:;">
        <span class="fa fa-user"></span>
        <div>我的</div>
      </a>
    </div>
  </body>

  <script src="../lib/mui/js/mui.js"></script>
  <script src="../lib/zepto/zepto.js"></script>
  <script src="../lib/arttemplate/template-web.js"></script>
  <script src="../lib/iscroll/iscroll1.js"></script>
  <script src="../js/公共.js"></script>
  <script src="../js/feilei.js"></script>
</html>
<script type="text/template" id="template1">
      <ul>
  {{each $data value index}}

  {{if index==0}}
  <li class='active'>{{value.cat_name}}</li>
  {{/if}}

  {{if index!=0}}
  <li class=''>{{value.cat_name}}</li>
  {{/if}}
  {{/each}}
  </ul>
</script>

<script type="text/template" id="template2">
  <div>

    {{each data value}}
        <div class="电视">{{value.cat_name}}</div>
        <div class="商品">
  <ul>
    {{each value.children value2}}
    <li>
      <a href='分类页面详细.html?cid={{value2.cat_id}}'>
        <img src="http://api.pyg.ak48.xyz/{{value2.cat_icon}}" alt="">
        <div>{{value2.cat_name}}</div>
      </a>
   </li>
  {{/each}}
      </ul>
    </div>
    {{/each}}

    </div>
</script>
